#define _CRT_SECURE_NO_WARNINGS 1

#include "Solution.h"

int main()
{
	int a[] = { 5,4,11,7,-1,-1,2,8,13,-1,-1,4,5,1,-1,-1 };
	int size = sizeof(a) / sizeof(a[0]);
	int i = 0;
	TreeNode* root = Make_TreeNode(a,&i,size);
	auto vv = Solution().pathSum(root,22);

	for (auto& v : vv)
	{
		for (auto& e : v)
		{
			cout << e << ' ';
		}
		cout << endl;
	}

	return 0;
}